package org.jeecg.modules.pucheng.service.impl;

import org.jeecg.modules.pucheng.bo.EventCountBo;
import org.jeecg.modules.pucheng.entity.Event;
import org.jeecg.modules.pucheng.mapper.EventMapper;
import org.jeecg.modules.pucheng.service.IEventService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 事件信息表
 * @Author: jeecg-boot
 * @Date:   2019-11-14
 * @Version: V1.0
 */
@Service
public class EventServiceImpl extends ServiceImpl<EventMapper, Event> implements IEventService {
    @Autowired
    private EventMapper mapper;
    @Override
    public List<EventCountBo> queryCountByType() {
        return mapper.queryCountByType();
    }
}
